// 基于template/src/widgets/{{appEntities}}/{{ctrls@TREEVIEW}}-tree/{{spinalCase ctrl.codeName}}-tree-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

class PersondataControlVO extends ControlVOBase {

    constructor(data: any){
        super(data);
        //  树自持属性
        this.$ownKeys = ['ibizcustomer', 'createman', 'sn', 'updatedate', 'createdate', 'customeruid', 'ibizcustomerid', 'address', 'ibizcustomername', 'updateman'];
    }
    get id() {
        return this.$DO.ibizcustomerid;
    }
    set id(value: any) {
        this.$DO.ibizcustomerid = value;
    }
    get text() {
        return this.$DO.ibizcustomername;
    }
    set text(value: any) {
        this.$DO.ibizcustomername = value;
    }
    set ibizcustomerid(value: any) {
        this.$DO.ibizcustomerid = value;
    }
    get ibizcustomerid() {
        return this.$DO.ibizcustomerid;
    }
    set srfkey(value: any) {
        this.$DO.ibizcustomerid = value;
    }
    get srfkey() {
        return this.$DO.ibizcustomerid;
    }
    set ibizcustomername(value: any) {
        this.$DO.ibizcustomername = value;
    }
    get ibizcustomername() {
        return this.$DO.ibizcustomername;
    }
}

export const TreeControlVO = [{ name: 'PersondataControlVO', controlVO: PersondataControlVO }, ]